MailPoet\Config\Populator C

Total Complexity 118
Dependencies 34
Dependents 3
Total lines 820
Lines of code 717
Logical lines of code 280
Comment lines 28
Methods 30
Properties 9

Methods 30

Method Rating Maintainability Complexity Lines of code
migrateFormPlacement()
C
35 26 84
createDefaultSettings()
B
37 18 72
addPlacementStatusToForms()
B
44 19 43
createMailPoetPage()
S
51 6 27
newsletterOptionFields()
S
40 1 91
__construct()
S
37 1 89
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
moveGoogleAnalyticsFromPremium()
S
51 3 30
updateMetaFields()
S
61 3 12
removeDuplicates()
S
56 2 18
createDefaultSegment()
S
57 2 17
createOrUpdateUserFlag()
S
58 2 15
newsletterTemplates()
S
59 2 15
updateLastSubscribedAt()
S
61 2 13
updateSentUnsubscribeLinksToInstantUnsubscribeLinks()
S
61 2 13
scheduleTask()
S
61 2 13
up()
S
54 1 24
createSourceForSubscribers()
S
56 1 20
enableStatsNotificationsForAutomatedEmails()
S
66 2 8
scheduleAuthorizedSendingEmailsCheck()
S
66 2 9
scheduleBeamer()
S
68 2 8
updateFormsSuccessMessages()
S
70 2 6
rowExists()
S
63 1 10
scheduleUnsubscribeTokens()
S
72 1 6
scheduleSubscriberLinkTokens()
S
72 1 6
insertRow()
S
70 1 7
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
updateRow()
S
69 1 8
detectReferral()
S
82 1 3